LamPI-arduino Process

This file describes the LamPI-arduino process, one of the key processes of the LamPI-system. LamPI-arduino is started for every Raspberry node in the system, Master or Slave, where the transmitter and/or receiver or the sensors are connected with the Arduino Gateway.

In other words, this process is the host-side of the Arduino Gateway; it will receive JSON messages from the LamPI-node daemon over the network and translate these to simple Arduino Gateway messages that are sent over the USB connection of the connected arduino system.

Als, it will read the TTY interface of the Arduino gateway and convert these simple Arduino messages back to LamPI-node JSON messages that are then sent to the LamPI-node daemon.